Linux platform updates - core profile support#1
Linux platform updates - core profile support#1kaydenl wants to merge 3 commits intobjthinks:masterfrom
Conversation
Epoxy is a modern replacement for GLEW that properly supports OpenGL's core profile mode, and fixes many bugs and issues with GLEW. See https://github.com/anholt/libepoxy for more information.
This was necessary with GLEW, but isn't necessary with libepoxy.
…le). This should work equally well on all platforms. It's also required to run on Linux systems using Mesa-based drivers, which only expose geometry shaders in core profile contexts.
|
Hi Ken, Thanks for taking a look at this. I remember chatting with Chad earlier Unfortunately, the rendering method I'm using in this project is rather Thanks much, and apologies for not getting back to you earlier. Brian Johnson On Wed, Jun 3, 2015 at 3:47 PM, Kenneth Graunke notifications@github.com
|
Hi Brian!
I tried to get Orbital Explorer working on my Linux system with Intel graphics (using the Mesa based drivers), and noticed it wasn't using an OpenGL core profile. This is necessary for geometry shader support, just like on Apple.
I tried out Paul's patch from 2013 to remove the APPLE ifdefs, but then noticed that GLEW was still trying to call glGetString(GL_EXTENSIONS), which doesn't work. So I switched it to libepoxy, which is a more modern/better replacement for GLEW that actually works with core profile mode.
With these patches, it works great on Linux with Mesa-based drivers.
Thanks!
--Ken